﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace WLYT.Domain.Entries
{
    ///<summary>
    ///Agv日志
    ///</summary>
    [SugarTable("AgvTask")]
    public partial class AgvTask
    {
           public AgvTask(){

            this.TaskCode =Convert.ToString("");
            this.Status =Convert.ToInt32("0");
            this.StartPosition =Convert.ToString("");
            this.EndPosition =Convert.ToString("");
            this.CreateTime =DateTime.Now;
            this.AgvCode =Convert.ToString("");

           }
           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
           public int Id {get;set;}

           /// <summary>
           /// Desc:单号
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string TaskCode {get;set;}

           /// <summary>
           /// Desc:状态（-1：撤销任务，0：等待运输，1：运输开始，2：运输完成）
           /// Default:0
           /// Nullable:False
           /// </summary>           
           public int Status {get;set;}

           /// <summary>
           /// Desc:AGV起始点
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string StartPosition {get;set;}

           /// <summary>
           /// Desc:AGV终点
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string EndPosition {get;set;}

           /// <summary>
           /// Desc:创建时间
           /// Default:DateTime.Now
           /// Nullable:False
           /// </summary>           
           public DateTime CreateTime {get;set;}

           /// <summary>
           /// Desc:完成时间
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? CompleteTime {get;set;}

           /// <summary>
           /// Desc:Agv编号
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string AgvCode {get;set;}

    }
}
